<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:p="http://primefaces.org/ui"
	xmlns:form="http://java.sun.com/jsf/composite/components/form"
	template="/templates/include/securedmain.xhtml">

	<ui:define name="content">

		<h:form id="form">


			<p:growl id="growl" showDetail="true" sticky="false" />
			<p:panelGrid id="grid" columns="2" rowClasses="center-td">
				<f:facet name="header">
					<h:outputText value="#{msg['view.objectclassview.form.head']}" />
				</f:facet>


				<h:outputText value="#{msg['properties.objectclass.name']}:" />
				<h:outputText
					value="#{viewObjectClassBean.selectedItem.name}"
					id="objectClassName" />

				<h:outputText value="#{msg['properties.objectclass.description']}:" />
				<h:outputText autoResize="false"
					value="#{viewObjectClassBean.selectedItem.description}" id="desc" />

				<h:outputText value="#{msg['properties.objectclass.pickable']}:" />
				<p:selectBooleanCheckbox disabled="true"
					value="#{viewObjectClassBean.selectedItem.pickable}">
					<p:ajax event="change" update="@this" />
				</p:selectBooleanCheckbox>

				<h:outputText value="#{msg['properties.objectclass.returnable']}:" />
				<p:selectBooleanCheckbox disabled="true"
					value="#{viewObjectClassBean.selectedItem.returnable}">
					<p:ajax event="change" update="@this" disabled="true" />
				</p:selectBooleanCheckbox>
				
				<f:facet name="footer">
				</f:facet>
			</p:panelGrid>
		</h:form>
	</ui:define>
</ui:composition>
